#ifndef __W25Q64_H
#define __W25Q64_H
#include "stm32f1xx_hal.h"
#include "software_spi.h"
#include "W25Q64_Ins.h"

void W25Q64_Init(void);
void W25Q64_ReadID(uint8_t *MID,uint16_t *DID);
void W25Q64_Write_Enable(void);
void W25Q64_WaitBusy(void);
void W25Q64_PageProgram(uint32_t Address,uint8_t *DataArray,uint16_t Count);
void W25Q64_SectorErase(uint32_t Address);
void W25Q64_ReadData(uint32_t Address,uint8_t *DataArray,uint32_t Count);


#endif
